package com.yu.spring;

import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yushijun
 * @date 2018/7/20
 */
@Configuration
public class BeanConfiguration {

    @Bean
    public Person person(){
        return new Person();
    }

    @Bean
    public BeanPostProcessor beanPostProcessor(){

        return new MyBeanPostProcesser();

    }


}
